<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>研发基础工具SDK库</title>
	<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate"/>
	<meta http-equiv="Pragma" content="no-cache"/>
	<meta http-equiv="Expires" content="0"/>
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
	<meta name="keywords" content="it,software,note,docs,documentation,github">
	<meta name="description" content="">
	<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
	<link rel="stylesheet" href="static/unpkg.com/docsify/lib/themes/vue.css" title="vue">
	<link rel="stylesheet" href="static/unpkg.com/docsify/lib/themes/dark.css" title="dark" disabled>
	<link rel="stylesheet" href="static/unpkg.com/docsify/lib/themes/buble.css" title="buble" disabled>
	<link rel="stylesheet" href="static/unpkg.com/docsify/lib/themes/pure.css" title="pure" disabled>
	<link rel="stylesheet" href="static/unpkg.com/@fortawesome/fontawesome-free/css/all.css" />
	<link rel="stylesheet" href="static/cdn.jsdelivr.net/npm/mermaid/dist/mermaid.min.css">
	<link rel="stylesheet" href="static/cdnjs.cloudflare.com/ajax/libs/KaTeX/0.9.0-alpha2/katex.min.css" integrity="sha384-exe4Ak6B0EoJI0ogGxjJ8rn+RN3ftPnEQrGwX59KTCl5ybGzvHGKjhPKk/KC3abb" crossorigin="anonymous">
	<link rel="stylesheet" href="static/cdn.jsdelivr.net/npm/docsify-jx-toc/dist/jx-toc.css">
	<link rel="stylesheet" href="static/cdn.jsdelivr.net/npm/docsify-sidebar-collapse/dist/sidebar.min.css" />

	<script src="static/cdnjs.cloudflare.com/ajax/libs/KaTeX/0.9.0-alpha2/katex.min.js" integrity="sha384-OMvkZ24ANLwviZR2lVq8ujbE/bUO8IR1FdBrKLQBI14Gq5Xp/lksIccGkmKL8m+h" crossorigin="anonymous"></script>
	<style>
		a.demo-theme-preview:hover {
			cursor: pointer;
			text-decoration: underline;
		}
		a.demo-search-clear:hover {
			cursor: pointer;
			text-decoration: underline;
		}
		.beiAn{
			position: fixed;
			bottom: 1px;
			right: 5px;
			z-index: 10;
		}
	</style>
</head>
<body>
<nav class="app-nav no-badge">
	<ul>
		<li>全文索引
			<ul>
				<li><a class="demo-search-clear" title="清理">清理</a></li>
			</ul>
		</li>
		<li>主题切换
			<ul>
				<li><a class="demo-theme-preview" data-theme="vue" title="vue">vue</a></li>
				<li><a class="demo-theme-preview" data-theme="buble" title="buble">buble</a></li>
				<li><a class="demo-theme-preview" data-theme="dark" title="dark">dark</a></li>
				<li><a class="demo-theme-preview" data-theme="pure" title="pure">pure</a></li>
			</ul>
		</li>
	</ul>
</nav>
<div id="app">Loading ...</div>
<div class="beiAn">
	<p>
		<a href="https://beian.miit.gov.cn/" target="_blank" id="beiAnHref"></a>
	</p>
</div>
<script>
	window.$docsify = {
		homepage: 'README.md',
		loadSidebar: 'SUMMARY.md',
		// loadNavbar: 'NAVBAR.md',
		// coverpage: false,
		// coverpage: true,
		// loadSidebar : true,
		// loadNavbar : true,
		auto2top: true,
		autoHeader: true,
		executeScript: true,
		//relativePath: true,
		mergeNavbar: true,
		sidebarDisplayLevel: 6,
		maxLevel: 6,
		subMaxLevel: 0,
		//别名
		alias: {
			//	'\\/en\\/(.+)' : '/$1',
			'\\/en-us\\/(.+)': '/$1',
			'\\/zh\\/(.+)': '/$1',
			'\\/zh-cn\\/(.+)': '/$1',
			'/.*/SUMMARY.md': '/SUMMARY.md',
			'/.*/NAVBAR.md': '/NAVBAR.md',
		},
		noCompileLinks: ['/_private', '/private/.*'],//不处理的链接
		'flexible-alerts': {
			style: 'flat'
		},
		// 全文搜索
		search: {
			maxAge: 3600000, // 过期时间，单位毫秒，默认一天 86400000
			paths: 'auto',
			namespace: 'pivoto',
			// placeholder: 'Search',
			// 支持本地化
			placeholder: {
				'/zh/': '搜索',
				'/en/': 'Search',
				'/': 'Search'
			},
			// noData: 'No Results!',
			// 支持本地化
			noData: {
				'/zh/': '找不到结果',
				'/en/': 'No Results',
				'/': 'No Results'
			},
			// 搜索标题的最大层级, 1 - 6
			depth: 4
		},
		// mermaid
		markdown: {
			renderer: {
				code: function (code, lang) {
					if (lang === "mermaid") {
						return ('<div class="mermaid">'
							+ mermaid.render(lang, code) + "</div>");
					} else if (lang === 'math') {
						var arr = code.split('\n');
						var content = '';
						var newline = true;
						for (var i = 0; i < arr.length; i++) {
							var text = arr[i].trimRight();
							var nextnewline = true;
							if (text.endsWith('\\')) {
								text = text.replace(/\\+$/, '');
								nextnewline = false;
							} else {
								nextnewline = true;
							}
							try {
								var html = katex.renderToString(text);
								if (newline && nextnewline) {
									content += '<div class="katex">' + html + '</div>';
								} else {
									content += '<span class="katex">' + html + '</span>';
								}
							} catch (e) {
								if (newline && nextnewline) {
									content += '<div class="katex">' + text + '</div>';
								} else {
									content += '<span class="katex">' + text + '</span>';
								}
								console.warn(e);
							}
							newline = nextnewline;
						}
						return content;
					}
					return this.origin.code.apply(this, arguments);
				}
			}
		},
		formatUpdated: '{YYYY}/{MM}/{DD} {HH}:{mm}',
		plugins: [
			function (hook, vm) {
				hook.beforeEach(function (html) {
					return html + '\n----\n' + 'Last modified {docsify-updated} '
				})
			},
			function (hook, vm) {
				hook.beforeEach(function (html) {
					if (/githubusercontent\.com/.test(vm.route.file)) {
						url = vm.route.file
							.replace('raw.githubusercontent.com', 'github.com')
							.replace(/\/master/, '/blob/master')
					} else {
						url = 'https://github.com/docsifyjs/docsify/blob/master/docs/' + vm.route.file
					}
					var editHtml = '[:memo: Edit Document](' + url + ')\n'

					// return editHtml + html
					//+ '\n\n----\n\n'
					//+ '<a href="https://docsify.js.org" target="_blank" style="color: inherit; font-weight: normal; text-decoration: none;">Powered by docsify</a>'
				})
			}
		],
		name: '',
		repo: '',
		autoHeaders: {
			separator: 'other',          // 数字的分隔方式：decimal、dash、bracket或other
			custom: '.',          //如果separator设置为other，则可以在此处指定自定义样式的分隔符
			levels: {start: 2, finish: 4}, // 标题级别: h[1-6]
			// levels: '6', // 标题级别: h[1-6]
			scope: '#main',          // 缩小范围的元素，认作用域为 #main
			debug: true          // show console.log messages
		},
		jxtoc: {
			headings: "h1, h2, h3, h4, h5, h6",
		},
	};
	(function () {
		initMermaid();
		bindThemeChangeEvent();
		bindSearchClearEvent();
	})();

	function initMermaid() {
		if (typeof (mermaid) == 'undefined') {
			setTimeout(function () {
				initMermaid();
			}, 100);
			return false;
		}
		mermaid.initialize({
			startOnLoad: false
		});
	}

	function bindSearchClearEvent() {
		if (typeof (Docsify) == 'undefined' || Docsify.dom.find('.demo-search-clear') == null) {
			setTimeout(function () {
				bindSearchClearEvent();
			}, 100);
			return false;
		}
		var searchClear = Docsify.dom.find('.demo-search-clear');
		searchClear.onclick = function (e) {
			for (var i = 0; i < localStorage.length; i++) {
				var key = localStorage.key(i);
				if (/^docsify.search.index/.test(key) || /^docsify.search.expires/.test(key)){
					localStorage.removeItem(key);
				}
			}
			window.location.reload();
			// localStorage.removeItem('docsify.search.expires');
			// localStorage.removeItem('docsify.search.index');
			//alert('全文索引缓存清理完成!');
		}
	}

	function bindThemeChangeEvent() {
		if (typeof (Docsify) == 'undefined' || Docsify.dom.findAll('.demo-theme-preview').length == 0) {
			setTimeout(function () {
				bindThemeChangeEvent();
			}, 100);
			return false;
		}
		console.log('bindThemeChangeEvent......')
		var previews = Docsify.dom.findAll('.demo-theme-preview');
		var themes = Docsify.dom.findAll('[rel="stylesheet"]');
		previews.forEach(function (preview) {
			preview.onclick = function (e) {
				console.log('preview',preview,e)
				var title = e.target.getAttribute('data-theme')
				themes.forEach(function (theme) {
					console.log('theme',theme,preview,e)
					theme.disabled = theme.title !== title
				});
			};
		});
	}
</script>

<script src="static/sidebar.js"></script>
<script src="static/cdn.jsdelivr.net/npm/mermaid/dist/mermaid.min.js"></script>
<script src="static/unpkg.com/docsify/lib/docsify.min.js"></script>
<script src="static/unpkg.com/docsify/lib/plugins/emoji.js"></script>
<script src="static/unpkg.com/docsify/lib/plugins/zoom-image.js"></script>
<script src="static/unpkg.com/docsify/lib/plugins/search.min.js"></script>
<script src="static/unpkg.com/prismjs/components/prism-markdown.min.js"></script>
<script src="static/unpkg.com/prismjs/components/prism-java.min.js"></script>
<script src="static/unpkg.com/prismjs/components/prism-bash.min.js"></script>
<script src="static/unpkg.com/prismjs/components/prism-javascript.min.js"></script>
<script src="static/unpkg.com/prismjs/components/prism-python.min.js"></script>
<script src="static/unpkg.com/prismjs/components/prism-c.min.js"></script>
<script src="static/unpkg.com/docsify-plugin-advance-blockquote/dist/index.min.js"></script>
<script src="static/unpkg.com/@markbattistella/docsify-autoheaders/docsify-autoHeaders.js"></script>
<script src="static/cdn.jsdelivr.net/npm/docsify-jx-toc/dist/jx-toc.js"></script>
<script src="static/cdn.jsdelivr.net/npm/docsify-sidebar-collapse/dist/docsify-sidebar-collapse.js"></script>

</body>
</html>
